#ifndef MPHTTPCLITENTTESTS_H
#define MPHTTPCLITENTTESTS_H

#include <QObject>
#include <QString>
#include <QtTest>
#include "mpTestConfig.h"
class mpHttpClitentTests : public QObject
{
    Q_OBJECT

public:
    mpHttpClitentTests();

private Q_SLOTS:

    void initTestCase();
    void cleanupTestCase();

    void case_createClient();
    void case_createClientAsync();

    void case_get();
    void case_get_None();

    void case_getStream();
    void case_getStreamList();

    void case_post_delete_json();
    void case_post_delete_form();

    void case_timeout_success();
    void case_timeout_fail();

    void case_download_none();
    void case_upload();
    void case_upload_form();


    void case_run_async_useOwnThread();
    void case_run_async_useCustomThread();

private:
    std::string _baseUrl;
    std::string _schema;
    std::string _host;
    unsigned short _port;
    std::string _relativeUri;
};

#endif // MPHTTPCLITENTTESTS_H
